/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn;

import java.util.Date;

/**
 * <p>Project: javase202202 - T1
 * <p>Powered by Lisi On 2022-06-07 09:38:24
 * <p>Created by IntelliJ IDEA
 *

 * @version 1.0
 * @since 17
 */
public class T1 {
    public static void main(String[] args) {
        Date d = new A();
        System.out.printf("%tF%n",d);
    }
    public static void t0(String[] args) {
        //User是类，u是对象，在java中，类大部需要new实例化创建一个对象
        User u = new User();
        for (int i = 0; i < 5; i++) {
            System.out.printf("%d的平方：%d%n",i,u.pf(0));
        }
    }
}
